package com.bluelight.struts2.examples;
import com.opensymphony.xwork2.ActionSupport;

public class HelloWorld extends ActionSupport {

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = -965262014458195774L;
	private String message;

	public HelloWorld() {
		super();
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Override
	public String execute() throws Exception {
		StringBuilder builder = new StringBuilder();
		builder.append("Hello,World!").append("<br/>One World,One Dream");
		setMessage(builder.toString());
		return SUCCESS;
	}

}
